package cn.ad.model;

import cn.ad.enumration.AuditStatus;
import org.apache.ibatis.type.Alias;

/**
 * 广告主审核状态
 * Created by Administrator on 2016/12/6.
 */
@Alias("auditModel")
public class AuditModel {

    private Integer id;
    private String name;
    private String url;
    private Integer auditStatus;
    private String auditValue;
    private String auditMessage;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Integer getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(Integer auditStatus) {
        this.auditStatus = auditStatus;
    }

    public String getAuditValue() {
        return AuditStatus.forValue(auditStatus);
    }

    public void setAuditValue(String auditValue) {
        this.auditValue = auditValue;
    }

    public String getAuditMessage() {
        return auditMessage;
    }

    public void setAuditMessage(String auditMessage) {
        this.auditMessage = auditMessage;
    }
}
